<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>企业公告管理系统 - 登录</title>
    <link rel="stylesheet" href="../css/common.css">
    <link rel="stylesheet" href="../css/login.css">
</head>
<body>
    <div class="container">
        <div class="login-box">
            <h2>企业公告管理系统</h2>
            <form id="loginForm" onsubmit="return false;">
                <div class="input-group">
                    <input type="text" id="username" required placeholder="请输入账号">
                </div>
                <div class="input-group">
                    <input type="password" id="password" required placeholder="请输入密码">
                </div>
                <button type="submit" onclick="handleLogin()">登录</button>
                <div class="action-links">
                    <p class="register-link">
                        还没有账号？<a href="register.html">立即注册</a>
                    </p>
                    <p class="visitor-link">
                        <a href="user/index.html" class="visitor-btn">直接访问新闻页</a>
                    </p>
                </div>
            </form>
        </div>
    </div>
    <script src="../js/config.js"></script>
    <script src="../js/request.js"></script>
    <script src="../js/login.js"></script>
</body>
</html> 